package info.rongtong.domain;

/**
 * Category entity. @author MyEclipse Persistence Tools
 */

public class Category implements java.io.Serializable {

	// Fields

	private Integer cid;
	private String cname;
	private Integer isPhoto;

	// Constructors

	/** default constructor */
	public Category() {
	}

	/** full constructor */
	public Category(String cname,Integer isPhoto) {
		this.cname = cname;
		this.isPhoto = isPhoto;
	}

	// Property accessors

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Integer getIsPhoto() {
		return isPhoto;
	}

	public void setIsPhoto(Integer isPhoto) {
		this.isPhoto = isPhoto;
	}
	
	
}